{extend name="public:base" /}
{block name="breadcrumbHeader"}
<h2>添加企业介绍信息</h2>
{/block}
{block name="breadcrumb"}
<ol class="breadcrumb">
    <li class="breadcrumb-item">
        <a href="index.html">主页</a>
    </li>
    <li class="breadcrumb-item active">
        <strong>企业介绍信息</strong>
    </li>
</ol>
{/block}
{block name="js"}
<script type="text/javascript" src="__STATIC__/js/plugins/chosen/chosen.jquery.js"></script>
{block name="content"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-content">
                    <form method="post" class="ajax-form" action="{:url('add')}">
                        <input name="uid" type="hidden">
                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">标题</label>
                                <div class="col-sm-3">
                                    <input type="text" name="title" id="accountCheckIdentity"
                                           autocomplete="off"
                                           class="form-control required-validate" placeholder="请输入标题">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">排序</label>
                                <div class="col-sm-3">
                                    <input type="number" class="form-control required-validate" name="sort" value="1" placeholder="请输入排序">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                        <div class="box-item">
                            <div class="row">
                                <label class="col-sm-1 col-form-label">内容</label>
                                <div class="col-lg-6">
                                    <div class="ibox ">
                                        <textarea id="editor_id"></textarea>
                                        <textarea name="content" data-editor="kindEditor" style="display: none"></textarea>
                                    </div>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>
                        <div class="form-group row">
                            <div class="col-sm-4 col-sm-offset-2">
                                <button type="button" class="btn btn-w-m btn-default back-page">返回</button>
                                <button type="submit" class="btn btn-w-m btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{/block}

{block name='js'}
<script type="text/javascript" src="__PLUG__/kindeditor/kindeditor-all.js"></script>
<script type="text/javascript" src="__ADMIN__/js/plugins/typehead/bootstrap3-typeahead.min.js"></script>
<script>

        initKindEditor('editor_id');

</script>
{/block}
{block name='css'}
<style type="text/css">
    .img-upload-wrap {
        position: relative;
        width: 100px;
        height: 100px;
    }

    .img-upload-preview {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .img-upload-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        width: 100px;
        height: 100px;
        text-align: center;
        line-height: 100px;
        color: #000;
        background: #9191918a;
        cursor: pointer;
    }

</style>
{/block}
